import React from 'react'
import { useRoutes } from 'react-router-dom'
import routes from '@routers/index'

const App = () => {
  const RoutesElementS = useRoutes(routes)

  return <>{RoutesElementS}</>
}

export default App
